import React from "react";
import { NavBar, Icon } from 'antd-mobile';
import 'antd-mobile/dist/antd-mobile.css';

export default class Nav_bar extends React.Component{
    render() {
        return (
            <div>
                <NavBar
                    mode="light"
                    leftContent={[
                        <Icon type="left" />,
                        "返回",
                    ]}
                    onLeftClick={() => console.log('onLeftClick')}
                    rightContent={[
                        <Icon key="0" type="search"  />,
                    ]}
                >基金排行</NavBar>
            </div>
        );
    }
}
